package com.xiaojian.blog.dao;

import com.xiaojian.blog.model.ContentPO;
import com.xiaojian.blog.model.ContentPOExample;
import java.util.List;

import com.xiaojian.blog.model.VO.ArchiveVO;
import org.apache.ibatis.annotations.Param;

public interface ContentPOMapper {
    int countByExample(ContentPOExample example);

    int deleteByExample(ContentPOExample example);

    int deleteByPrimaryKey(Integer cid);

    int insert(ContentPO record);

    int insertSelective(ContentPO record);

    List<ContentPO> selectByExampleWithBLOBs(ContentPOExample example);

    List<ContentPO> selectByExample(ContentPOExample example);

    ContentPO selectByPrimaryKey(Integer cid);

    int updateByExampleSelective(@Param("record") ContentPO record, @Param("example") ContentPOExample example);

    int updateByExampleWithBLOBs(@Param("record") ContentPO record, @Param("example") ContentPOExample example);

    int updateByExample(@Param("record") ContentPO record, @Param("example") ContentPOExample example);

    int updateByPrimaryKeySelective(ContentPO record);

    int updateByPrimaryKeyWithBLOBs(ContentPO record);

    int updateByPrimaryKey(ContentPO record);

    List<ContentPO> findByCatalog(Integer mid);

    List<ArchiveVO> findReturnArchiveVO();
}